<%=allt(allt(xcompany.address1)+[ ]+allt(xcompany.address2))%> <%=allt(allt(xcompany.phone)+[ ]+allt(xcompany.email))%>
<%=thevendordetails%>
| # | DETAILS | <%if hasbatch%>Batch | <%endif%> <%if hasexpiry%>expiry | <%endif%> <%if haskglibs%>KGs | LIBs | CTNs | RATE/LIB | RATE/KG | <%else%> <%if haszctn%>UNIT | <%endif%> <%if haszunit%>PCS | <%endif%>QTY | <%if hasbonus%>BONUS | <%endif%>RATE | <%endif haskglibs%> <%if hastax=.t.%>TAX | VAT | <%endif%>TOTAL | <%if haspdisc1%>Disc ON Sale |
<%endif%>
<%if haspdisc2%>
Disc NET |
<%endif%>
<%if hasdiscount%>
DISC | NET AMOUNT | <%endif%><%=RECNO()%> | <%=icase(isurdu=2,allt(DESC)+iif(empty(textra),[],[ ]+allt(textra)),isurdu=1,iif(empty(textra),allt(desc),allt(textra)),allt(desc))%> |
<%if hasbatch%>
<%=iif(empty(batch),' ',transform(batch))%> | <%endif%> <%if hasexpiry%><%=iif(empty(expiry),' ',transform(expiry))%> | <%endif%> <%if haskglibs%><%=iif(empty(KGQTY),' ',KGQTY)%> | <%=iif(empty(libsQTY),' ',libsQTY)%> | <%=iif(empty(thectnqty),' ',thectnqty)%> | <%=iif(empty(rateperlib),' ',rateperlib)%> | <%=iif(empty(rateperkg),' ',rateperkg)%> | <%else%> <%if haszctn%><%=zctn%> | <%endif%> <%if haszunit%><%=iif(empty(thectnqty),' ',thectnqty)%> | <%endif%><%=thectnqty%> | <%if hasbonus%><%=iif(empty(bonus),' ',transform(bonus))%> | <%endif%><%=rateperkg%> | <%endif haskglibs%> <%if hastax=.t.%><%=iif(empty(thetaxprate),' ',transform(thetaxprate)+[%])%> | <%=iif(empty(itemtx),' ',transform(itemtx,'999999999.99'))%> | <%endif%><%=ROUND(qty*rate,0)%> | <% roundeddisc=icase(discount=round(discount,0),round(discount,0),round(discount,2)) %> <%if haspdisc1%><%=iif(empty(pdisc1),' ',transform(pdisc1)+'%')%> | <%endif%> <%if haspdisc2%><%=iif(empty(pdisc2),' ',transform(pdisc2)+'%')%> | <%endif%> <%if hasdiscount%><%=iif(empty(roundeddisc),' ',transform(roundeddisc))%> | <%=ROUND(qty*rate-roundeddisc,0)%> | <%endif%> <%ENDSCAN%> <% cspan=1 %>
| Opening | < |
| Add Debits | < |
| Less Credits | < |
| Closing Balance | < |
![]() | |
<%='OPERATOR '+ALLT(theuser)+' '+IIF(EMPTY(REPT_SALEMAN),'','SOLD BY: '+REPT_SALEMAN)%>
<%if NOT EMPTY(LASTMESSAGE) %><%=LASTMESSAGE%>
<%endif%>